Upload event, status, and trace data are sent to Datadog / audit path
11. Build final response
Document service returns document ID and status to BFF
12. Return success payload
BFF returns final upload response to the frontend
13. Render confirmation
UI shows success status, reference, and file result
Controlled upload path: The browser never writes directly to storage. Upload actions are mediated through the BFF and Document Management Service.
Separated persistence: Metadata is stored in DocumentDB while binary content is stored in ADLS Gen2, keeping document state separate from object storage.
Auditable flow: Upload events, failures, and success outcomes are observable through Datadog and audit-oriented backend logging.
User actionFrontend / resultBFF orchestrationDocument service logicMetadata persistenceFile storageObservability / audit